from Circle import Circle


def main():
    # Create a Circle object with radius 1
    myCircle = Circle()
    # Print areas for radius  1 ,2 ,3 ,4 , and 5
    n = 5
    printAreas(myCircle, n)

    # Display myCircle.radius and times
    print("Radius is", myCircle.radius)
    print("n is", n)


# Print a table of areas for radius
def printAreas(c, times):
    print("Radius \t\tArea")
    while times >= 1:
        print(c.radius, "\t\t", c.getArea())
        c.radius += 1
        times -= 1


main()  # Call the main function
